package com.syezon.wifikey.setting;


import android.view.View;
import android.widget.RelativeLayout;

import com.syezon.wifikey.R;
import com.syezon.wifikey.base.BaseActivity;
import com.syezon.wifikey.wifi.BlackListActivity;
import com.syezon.wifikey.utils.StatusBarUtil;

import butterknife.BindView;
import butterknife.OnClick;

public class SettingActivity extends BaseActivity {

    @BindView(R.id.rl_top)
    RelativeLayout mRlTop;


    @Override
    protected boolean isApplyStatusBarTranslucency() {
        return true;
    }

    @Override
    protected int getContentViewLayoutID() {
        return R.layout.activity_setting;
    }

    @Override
    protected void initViewsAndEvents() {
        StatusBarUtil.setPaddingSmart(this, mRlTop);
    }

    @OnClick({R.id.ll_back, R.id.rl_black_wifi})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.ll_back:
                finish();
                break;
            case R.id.rl_black_wifi:
                readyGoThenKill(BlackListActivity.class);
                break;
        }
    }
}
